package com.xysd.examproject.util;

import android.widget.Toast;

import com.xysd.examproject.app.ExamApplication;

/**
 * Created by donghui on 2017/6/1.
 */

public class ToastUtil {
    public static Toast mToast;


    public static void show(String showStr){
        if (mToast==null){
            mToast=Toast.makeText(ExamApplication.getInstance(),"",Toast.LENGTH_SHORT);
        }
        mToast.setText(showStr);
        mToast.show();
    }


}
